package character.race;

/**
 * Race rates.
 * @author pcdejager
 */
public final class RaceRates {
    /**
     * Constructor.
     * @param fert Fertility rate
     * @param mort Mortality rate
     * @param loveRate Love rate
     * @param marryRate Marry rate
     */
    public RaceRates(final double fert,
            final double mort,
            final double loveRate,
            final double marryRate) {
        fertility = fert;
        mortality = mort;
        love = loveRate;
        marry = marryRate;
    }
    /**
     * Get the fertility rate.
     * @return The fertility rate
     */
    public double getFertility() {
        return fertility;
    }
    /**
     * Get the mortality rate.
     * @return The mortality rate
     */
    public double getMortality() {
        return mortality;
    }
    /**
     * Get the love rate.
     * @return The love rate
     */
    public double getLoveRate() {
        return love;
    }
    /**
     * Get the marry rate.
     * @return The marry rate
     */
    public double getMarryRate() {
        return marry;
    }
    /**
     * Fertility rate.
     */
    private double fertility = 0;
    /**
     * Mortality rate.
     */
    private double mortality = 0;
    /**
     * Love rate.
     */
    private double love = 0.0;
    /**
     * Marry rate.
     */
    private double marry = 0;
}
